// 所有关于购物车的接口
import request from '../utils/request'
// 获取购物车详情的接口
export function _getCartinfo(token){
  return request("/shopping-cart/info","get",{
    token:token
  })
}
// 删除购物车方法
export function delCartone(data){
  return request("/shopping-cart/remove","post",data)
}
// 修改购物车数量接口
export function _EditCartNum(data){
  return request("/shopping-cart/modifyNumber","post",data)
}
// 购物车单选功能
export function oneSel(data){
  return request("/shopping-cart/select","post",data)
}
// 全部删除接口
export function delAllCart(token){
  return request("/shopping-cart/empty","post",{
    token:token
  })
}